diff options
| author | Kimdonghan <dh32110@gmail.com> | 2025-12-03 18:27:43 +0900 |
|---|---|---|
| committer | Kimdonghan <dh32110@gmail.com> | 2025-12-03 18:27:43 +0900 |
| commit | 2f02e9ea125c3ec42afac84ec903767930335dd3 (patch) | |
| tree | 70f8e0ee57f868d29e7a338db49c5cf228468376 /app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx | |
| parent | 7b2718ba47b69ed4b1bf20977cebe93393191839 (diff) | |
(김동한) 메뉴명과 화면 내 h태그 일치 작업
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx b/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx index 6830dbe9..223046b7 100644 --- a/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx +++ b/app/[lng]/evcp/(evcp)/(procurement)/rfq-last/page.tsx @@ -23,6 +23,7 @@ import { RfqTable } from "@/lib/rfq-last/table/rfq-table"; import { getRfqs } from "@/lib/rfq-last/service"; import { searchParamsRfqCache } from "@/lib/rfq-last/validations"; import { InformationButton } from "@/components/information/information-button"; +import { useTranslation } from "@/i18n" export const metadata: Metadata = { title: "RFQ 관리", @@ -30,6 +31,7 @@ export const metadata: Metadata = { }; interface RfqPageProps { + params: Promise<{lng: string}> searchParams: Promise<SearchParams>; } @@ -63,6 +65,8 @@ async function getTabCounts() { export default async function RfqPage(props: RfqPageProps) { const searchParams = await props.searchParams; + const {lng} = await props.params + const {t} = await useTranslation(lng, 'menu') // nuqs 기반 파라미터 파싱 const search = searchParamsRfqCache.parse(searchParams); @@ -89,7 +93,7 @@ export default async function RfqPage(props: RfqPageProps) { <div className="flex items-center justify-between space-y-2"> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 견적목록관리 + {t('menu.procurement.budget_rfq')} </h2> <InformationButton pagePath="evcp/rfq-last" /> </div> |
